package com.stylefeng.guns.modular.item.service;

import com.stylefeng.guns.modular.item.model.Item;
import com.baomidou.mybatisplus.service.IService;

import java.security.PublicKey;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyi
 * @since 2018-09-26
 */
public interface IItemService extends IService<Item> {
    /*首页初始化*/
    public List<Item> getItemByCategoryOrderByDate(int category);
    public Item getNextItem(int category,Date date);
    public Item getPreviousItem(int category,Date date);

}
